<include file="public/header"/>
<link href="__ADMIN__/css/global.css" rel="stylesheet" type="text/css"/>
</head>
<body style="background: #eeeeee;">
<div style="margin:20px;" class="user-main">
    <form class="layui-form mt20" lay-filter="form1">

        <!-- tab开始 -->
        <div class="layui-tab layui-tab-brief" lay-filter="docDemoTabBrief">
            <ul class="layui-tab-title ml30">
                <li class="layui-this" lay-id="11">详情</li>
            </ul>
            <div class="layui-tab-content" id="layer-photos-demo">
                <!-- 第一栏目 -->
                <div class="layui-tab-item  layui-show " style="min-height:500px">
                    <!--%s-->
                    <input type="hidden" name="adsid" value="{$info.adsid}">
                    <div class="layui-form-item mt10">
                        <label class="layui-form-label" for="ads_title">标题</label>
                        <div class="layui-input-inline layui-wd2">
                            <input type="text" name="ads_title" id="ads_title" readonly placeholder="标题"
                                   autocomplete="off" maxlength="255" value="" class="layui-input">
                        </div>
                    </div>

                    <div class="layui-form-item mt10">
                        <label class="layui-form-label" >是否推荐</label>
                        <div class="layui-input-inline layui-wd2">
                            <input type="radio" name="state" value="0" title="下架" disabled>
                            <input type="radio" name="state" value="1" title="上架" checked disabled>
                        </div>
                    </div>

                    <div class="layui-form-item mt10">
                        <label class="layui-form-label">图片路径</label>
                        <div class="layui-input-inline layui-wd2">
                            <img src="{$info.soli_image}" style="max-height: 150px">
                        </div>
                    </div>
                    <div class="layui-form-item mt10">
                        <label class="layui-form-label" for="created_at">创建时间</label>
                        <div class="layui-input-inline layui-wd2">
                            <input type="number" name="created_at" id="created_at" readonly placeholder="创建时间"
                                   autocomplete="off" step="1" value="" class="layui-input">
                        </div>
                    </div>
                    <div class="layui-form-item mt10">
                        <label class="layui-form-label" for="updated_at">更新时间</label>
                        <div class="layui-input-inline layui-wd2">
                            <input type="number" name="updated_at" id="updated_at" readonly placeholder="更新时间"
                                   autocomplete="off" step="1" value="" class="layui-input">
                        </div>
                    </div>
                    <div class="clear"></div>
                </div>
                <!-- 第一栏目结束 -->
            </div>
        </div>
        <!-- tab结束 -->
    </form>
</div>
<include file="public/footer"/>

<script type="text/javascript">
    layui.use(['form', 'layer', 'laydate', 'upload', 'layedit'], function () {
        let form = layui.form,
                laydate = layui.laydate,
                upload = layui.upload,
                layedit = layui.layedit,
                layer = parent.layer === undefined ? layui.layer : top.layer;
        form.val("form1", {
            'ads_title': '{$info.ads_title}',
            'is_href': '{$info.is_href}',
            'href': '{$info.href}',
            'state': '{$info.state}',
            'image': '{$info.image}',
            'text': '{$info.text}',
            'created_at': '{$info.created_at}',
            'updated_at': '{$info.updated_at}'
        });
    });
</script>
</html>